package com.j177.cloud.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.awt.*;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * @Author:LuJiaHong
 * @Date:2020/11/30~17:36:04
 * @Version 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class MovieDto implements Serializable {
    private Integer movieId;
    private String movieName;
    private Integer moviePrice;
    private Integer movieNums;

    public static List<MovieDto> movieDtoList = new ArrayList<>();
    static  {
         movieDtoList.add(new MovieDto(1,"八佰",35,50));
         movieDtoList.add(new MovieDto(2,"金刚川",36,50));
         movieDtoList.add(new MovieDto(3,"罗密欧与朱丽叶",50,50));
         movieDtoList.add(new MovieDto(4,"姜子牙",30,50));
         movieDtoList.add(new MovieDto(5,"哪吒之魔童降世",39,50));
    }

    public static void main(String[] args) {
        System.out.println(movieDtoList);
    }
}


